﻿using XsqTech.SmartOA.Application.Middleware;

namespace XsqTech.SmartOA.Application.Middlewares
{
    /// <summary>
    /// 以下扩展方法，将以上中间件公开给使用者
    /// </summary>
    public static class RequestLogMiddlewareExt
    {
        public static IApplicationBuilder UseRequestLogMiddleware(this IApplicationBuilder builder)
        {
            return builder.UseMiddleware<RequestLogMiddleware>();
        }
    }
}
